package com.srxz.mobilepharmacy.mapper.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.srxz.mobilepharmacy.entity.ClinicRecPK;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.Date;

@JsonInclude(value = JsonInclude.Include.NON_NULL)
@AllArgsConstructor
@NoArgsConstructor
@Data
public class ClinicRecDTO implements Serializable {
    private ClinicRecPK id;
    private Integer grp;
    private Integer dep;
    private Integer dr;
    private Integer mid;
    private String bn;
    private Integer vdate;
    private Integer attr;
    private Double quan;
    private Double prr;
    private Double pri;
    private Double mny;
    private Integer cs;
    private Integer mrn;
    private String smed;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date sdate;
    private Integer acc;
    private Integer send;
    private Integer up;
    private String usag;
    private Double pr0;
    private BigInteger prescsn;
    private Integer prescid;
    private Integer prescord;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date miUpDt;
}
